home *** CD-ROM | disk | FTP | other *** search
/ Pro One: Netcracker Netscape Navigator / ProOne: Netcracker Netscape Navigator.iso / pc / nc / nct01020.geo / 00026.ls < prev    next >
Encoding:
Text File  |  1997-03-19  |  18.1 KB  |  836 lines

  1. on initLesson
  2.   DisableBTNS()
  3.   setRollName(EMPTY)
  4.   set the visible of sprite 48 to 0
  5.   updateStage()
  6.   InitSnakelogic()
  7.   RestoreHilites()
  8.   Set_BACKSprite(47)
  9.   Set_NEXTSprite(46)
  10.   Set_HelpSprite(45)
  11.   Set_SoundSprite(44)
  12.   Set_NOTEPADSprite(43)
  13.   Set_GLOSSARYSprite(42)
  14.   setTimer(30)
  15.   set_MarkSprite(2)
  16.   Set_NavigatorHL(5)
  17.   Set_MainSprite(6)
  18.   Set_IndexSprite(7)
  19.   Set_FindSprite(9)
  20.   Set_TagWDSprite(8)
  21.   repeat with i = 42 to 47
  22.     set the immediate of sprite i to 1
  23.     set the puppet of sprite i to 1
  24.   end repeat
  25.   set the puppet of sprite get_NavigatorHL() to 1
  26.   set the puppet of sprite Get_MarkSprite() to 1
  27.   set the mouseDownScript to "CheckOpenWindow"
  28. end
  29.  
  30. on InitSubjectSprite
  31.   if Get_ScreenSubject() <> "00" then
  32.     Set_SubjectSprite(39)
  33.     set the puppet of sprite Get_SubjectSprite() to 1
  34.     set the height of sprite Get_SubjectSprite() to integer(line integer(Get_ScreenSubject()) of Get_SubjectHeight())
  35.     UpdateCursors(Get_SubjectSprite(), 4)
  36.   end if
  37. end
  38.  
  39. on GoToIntro
  40.   if Get_ScreenSubject() <> "00" then
  41.     set theNum to integer(Get_ScreenSubject())
  42.     SaveSeenScreens()
  43.     go(1, "NCS" & Get_ScreenSubject() & "010.GEO")
  44.   end if
  45. end
  46.  
  47. on Set_SubjectSprite theSp
  48.   global SubjectSprite
  49.   set SubjectSprite to theSp
  50. end
  51.  
  52. on Get_SubjectSprite
  53.   global SubjectSprite
  54.   return SubjectSprite
  55. end
  56.  
  57. on Set_SubjectHeight theSp
  58.   global SubjectHeight
  59.   set SubjectHeight to theSp
  60. end
  61.  
  62. on Get_SubjectHeight
  63.   global SubjectHeight
  64.   return SubjectHeight
  65. end
  66.  
  67. on CheckForTagWd
  68.   global TagWD, IndexWD, FindWD, WordWD, Find2WD
  69.   if objectp(TagWD) or objectp(IndexWD) or objectp(FindWD) or objectp(Find2WD) or objectp(WordWD) then
  70.     set the cursor of sprite 48 to [400, 401]
  71.   end if
  72. end
  73.  
  74. on PlaySound theSnd
  75.   global PCDEL
  76.   if Get_PlayDub() then
  77.     sound playFile 2, the pathName & "SND01" & PCDEL & theSnd
  78.   end if
  79. end
  80.  
  81. on GoMain
  82.   sound stop 2
  83.   SaveSeenScreens()
  84.   go(1, "NC_MM010.GEO")
  85. end
  86.  
  87. on GoFind
  88.   global FindWD, CDfilePath, PCDEL
  89.   if objectp(FindWD) then
  90.     forget(FindWD)
  91.   end if
  92.   set the cursor of sprite 48 to [400, 401]
  93.   set FindWD to window (CDfilePath & "WDS" & PCDEL & "NC_FIND.GEO")
  94.   set the rect of FindWD to rect(the stageLeft + 221, the stageTop + 4, the stageLeft + 541, the stageTop + 164)
  95.   set the titleVisible of FindWD to 0
  96.   set the modal of FindWD to 1
  97.   open(FindWD)
  98. end
  99.  
  100. on HideFINDWindow
  101.   global FindWD
  102.   if objectp(FindWD) then
  103.     forget(FindWD)
  104.   end if
  105. end
  106.  
  107. on closeFindWindow
  108.   global FindWD
  109.   if objectp(FindWD) then
  110.     forget(FindWD)
  111.   end if
  112.   set the cursor of sprite 48 to 0
  113.   tell the stage
  114.     continue()
  115.   end tell
  116. end
  117.  
  118. on OpenFind2WD theData
  119.   global Find2WD, CDfilePath, PCDEL
  120.   HideFINDWindow()
  121.   set Find2WD to window (CDfilePath & "WDS" & PCDEL & "NC_FIND2.GEO")
  122.   set the rect of Find2WD to rect(the stageLeft + 48, the stageTop + 4, the stageLeft + 541, the stageTop + 212)
  123.   set the titleVisible of Find2WD to 0
  124.   set the modal of Find2WD to 1
  125.   tell Find2WD
  126.     UpdateSelection(theData)
  127.   end tell
  128.   open(Find2WD)
  129. end
  130.  
  131. on CloseFind2Window
  132.   global Find2WD
  133.   if objectp(Find2WD) then
  134.     forget(Find2WD)
  135.   end if
  136.   set the cursor of sprite 48 to 0
  137.   tell the stage
  138.     continue()
  139.   end tell
  140. end
  141.  
  142. on GoIndex
  143.   global IndexWD, CDfilePath, PCDEL
  144.   if objectp(IndexWD) then
  145.     forget(IndexWD)
  146.   end if
  147.   set the cursor of sprite 48 to [400, 401]
  148.   set IndexWD to window (CDfilePath & "WDS" & PCDEL & "NC_INDEX.GEO")
  149.   set the rect of IndexWD to rect(the stageLeft + 220, the stageTop + 4, the stageLeft + 541, the stageTop + 276)
  150.   set the titleVisible of IndexWD to 0
  151.   set the modal of IndexWD to 1
  152.   tell IndexWD
  153.     RonenInit()
  154.   end tell
  155.   open(IndexWD)
  156. end
  157.  
  158. on OpenWordWD theData
  159.   global WordWD, CDfilePath, PCDEL
  160.   HIdeIndexWindow()
  161.   set WordWD to window (CDfilePath & "WDS" & PCDEL & "NC_WORD.GEO")
  162.   set the rect of WordWD to rect(the stageLeft + 48, the stageTop + 4, the stageLeft + 541, the stageTop + 212)
  163.   set the titleVisible of WordWD to 0
  164.   set the modal of WordWD to 1
  165.   tell WordWD
  166.     UpdateSelection(theData)
  167.   end tell
  168.   open(WordWD)
  169. end
  170.  
  171. on CloseWordWindow
  172.   global WordWD
  173.   if objectp(WordWD) then
  174.     forget(WordWD)
  175.   end if
  176.   set the cursor of sprite 48 to 0
  177.   tell the stage
  178.     continue()
  179.   end tell
  180. end
  181.  
  182. on HIdeIndexWindow
  183.   global IndexWD
  184.   if objectp(IndexWD) then
  185.     forget(IndexWD)
  186.   end if
  187. end
  188.  
  189. on CloseIndexWindow
  190.   global IndexWD
  191.   if objectp(IndexWD) then
  192.     forget(IndexWD)
  193.   end if
  194.   set the cursor of sprite 48 to 0
  195.   tell the stage
  196.     continue()
  197.   end tell
  198. end
  199.  
  200. on GoIndexMovie thekind
  201.   if thekind = "tool" then
  202.     go("Init" & Get_ScreenSubject(), Get_IndexMovie())
  203.   else
  204.     go(1, Get_IndexMovie())
  205.   end if
  206. end
  207.  
  208. on set_IndexMovie theMoov
  209.   global IndexMovie
  210.   set IndexMovie to theMoov
  211. end
  212.  
  213. on Get_IndexMovie theMoov
  214.   global IndexMovie
  215.   return IndexMovie
  216. end
  217.  
  218. on GoTags
  219.   global TagWD, TAGS_DATA, TAGS_TITLES, TAGS_LIST, CDfilePath, PCDEL
  220.   if objectp(TagWD) then
  221.     forget(TagWD)
  222.   end if
  223.   set the cursor of sprite 48 to [400, 401]
  224.   set TagWD to window (CDfilePath & "WDS" & PCDEL & "NC_TAGS.GEO")
  225.   set the rect of TagWD to rect(the stageLeft + 274, the stageTop + 4, the stageLeft + 539, the stageTop + 249)
  226.   set the titleVisible of TagWD to 0
  227.   set the modal of TagWD to 1
  228.   tell TagWD
  229.     UpdateFields()
  230.     PlaceMySlider()
  231.     init()
  232.   end tell
  233.   open(TagWD)
  234. end
  235.  
  236. on OpenRenameWD theLine
  237.   global RenameWD, CDfilePath, PCDEL
  238.   set RenameWD to window (CDfilePath & "WDS" & PCDEL & "NC_RNAME.GEO")
  239.   set the rect of RenameWD to rect(the stageLeft + 286, the stageTop + 87, the stageLeft + 526, the stageTop + 199)
  240.   set the titleVisible of RenameWD to 0
  241.   set the modal of RenameWD to 1
  242.   tell RenameWD
  243.     UpdateLine(theLine)
  244.   end tell
  245.   open(RenameWD)
  246. end
  247.  
  248. on UpdateRenameWD theText
  249.   global TagWD
  250.   tell TagWD
  251.     UpdateRename(theText)
  252.   end tell
  253.   CloseRenameWD()
  254. end
  255.  
  256. on CloseRenameWD
  257.   global RenameWD
  258.   if objectp(RenameWD) then
  259.     forget(RenameWD)
  260.   end if
  261. end
  262.  
  263. on OpenSureWD
  264.   global SureWD, CDfilePath, PCDEL
  265.   set SureWD to window (CDfilePath & "WDS" & PCDEL & "NC_SURE.GEO")
  266.   set the rect of SureWD to rect(the stageLeft + 286, the stageTop + 87, the stageLeft + 526, the stageTop + 199)
  267.   set the titleVisible of SureWD to 0
  268.   set the modal of SureWD to 1
  269.   open(SureWD)
  270. end
  271.  
  272. on CloseSureWD
  273.   global SureWD
  274.   if objectp(SureWD) then
  275.     forget(SureWD)
  276.   end if
  277. end
  278.  
  279. on ClearAllTags
  280.   global CardTitles, TAGS_DATA, TAGS_TITLES, TAGS_LIST, TagWD
  281.   CloseSureWD()
  282.   set the castNum of sprite Get_MarkSprite() to the number of cast ("V_" & "UNMARK")
  283.   set TAGS_LIST to []
  284.   set TAGS_TITLES to EMPTY
  285.   set TAGS_DATA to EMPTY
  286.   tell TagWD
  287.     UpdateFields()
  288.     PlaceMySlider()
  289.     init()
  290.   end tell
  291.   updateStage()
  292. end
  293.  
  294. on CloseTagWindow
  295.   global TagWD
  296.   if objectp(TagWD) then
  297.     forget(TagWD)
  298.   end if
  299.   set the cursor of sprite 48 to 0
  300.   tell the stage
  301.     continue()
  302.   end tell
  303. end
  304.  
  305. on GoTagMovie
  306.   go("Init" & Get_ScreenSubject(), Get_TagMovie())
  307. end
  308.  
  309. on Set_TagMovie theMovie
  310.   global TagMovie
  311.   set TagMovie to theMovie
  312. end
  313.  
  314. on Get_TagMovie
  315.   global TagMovie
  316.   return TagMovie
  317. end
  318.  
  319. on MarkScreen toMark
  320.   global CardTitles, TAGS_DATA, TAGS_TITLES, TAGS_LIST
  321.   set the castNum of sprite Get_MarkSprite() to the number of cast ("V_" & toMark)
  322.   set movieName to the movieName
  323.   if toMark = "MARK" then
  324.     setAt(TAGS_LIST, count(TAGS_LIST) + 1, movieName)
  325.     set LineNum to count(TAGS_LIST)
  326.     set TheTitle to item Get_CDcounter() of line integer(Get_CurrentTool()) of CardTitles
  327.     put TheTitle into line LineNum of TAGS_TITLES
  328.     put movieName into item 1 of line LineNum of TAGS_DATA
  329.     put Get_CurrentTool() into item 2 of line LineNum of TAGS_DATA
  330.     put Get_ScreenSubject() into item 3 of line LineNum of TAGS_DATA
  331.   else
  332.     set itemNum to getOne(TAGS_LIST, movieName)
  333.     deleteAt(TAGS_LIST, itemNum)
  334.     delete line itemNum of TAGS_TITLES
  335.     delete line itemNum of TAGS_DATA
  336.   end if
  337.   updateStage()
  338. end
  339.  
  340. on UpdateMark
  341.   global TAGS_LIST
  342.   set movieName to the movieName
  343.   if getOne(TAGS_LIST, movieName) then
  344.     set the castNum of sprite Get_MarkSprite() to the number of cast "V_MARK"
  345.   end if
  346. end
  347.  
  348. on HandleSound
  349.   global volumeWindow, CDfilePath, PCDEL
  350.   if objectp(volumeWindow) then
  351.     forget(volumeWindow)
  352.   end if
  353.   EnableBtn("SOUND", get_SOUNDSprite())
  354.   set volumeWindow to window (CDfilePath & "WDS" & PCDEL & "NC_VOL.GEO")
  355.   set the rect of volumeWindow to rect(the stageLeft + 445, the stageTop + 63, the stageLeft + 574, the stageTop + 126)
  356.   set the titleVisible of volumeWindow to 0
  357.   tell volumeWindow
  358.     RestoreSoundStatus()
  359.   end tell
  360.   open(volumeWindow)
  361. end
  362.  
  363. on handleQuit
  364.   global QuitWindow, CDfilePath, PCDEL
  365.   cursor(4)
  366.   if objectp(QuitWindow) then
  367.     forget(QuitWindow)
  368.   end if
  369.   set the cursor of sprite 48 to [400, 401]
  370.   set QuitWindow to window (CDfilePath & "WDS" & PCDEL & "NC_QUIT.GEO")
  371.   set the rect of QuitWindow to rect(the stageLeft + 162, the stageTop + 122, the stageLeft + 478, the stageTop + 358)
  372.   set the titleVisible of QuitWindow to 0
  373.   set the modal of QuitWindow to 1
  374.   open(QuitWindow)
  375. end
  376.  
  377. on handleHELP
  378.   EnableBtn("HELP", get_HELPSprite())
  379.   openHelpWd()
  380. end
  381.  
  382. on openHelpWd
  383.   global helpWD, lastFrame, CDfilePath, PCDEL
  384.   set the cursor of sprite 48 to [400, 401]
  385.   set helpWD to window (CDfilePath & "WDS" & PCDEL & "NC_HLP.GEO")
  386.   set the rect of helpWD to rect(the stageLeft + 62, the stageTop + 28, the stageLeft + 586, the stageTop + 444)
  387.   set the titleVisible of helpWD to 0
  388.   set the modal of helpWD to 1
  389.   open(helpWD)
  390.   set lastFrame to the frame
  391.   go("helpLoop")
  392. end
  393.  
  394. on closeHelpWd
  395.   global helpWD, lastFrame
  396.   set the cursor of sprite 48 to 0
  397.   forget(helpWD)
  398.   go(lastFrame)
  399. end
  400.  
  401. on HandleNEXT
  402.   GoNext()
  403.   EnableBtn("NEXT", get_NEXTSprite())
  404. end
  405.  
  406. on HandleBACK
  407.   EnableBtn("BACK", get_BACKSprite())
  408.   EnableBtn("NEXT", get_NEXTSprite())
  409.   Set_NEXT(1)
  410.   sound stop 2
  411.   go("start")
  412. end
  413.  
  414. on HandleGLOSSARY
  415.   global DicWindow
  416.   EnableBtn("GLOSSARY", Get_GLOSSARYSprite())
  417.   set the cursor of sprite 48 to [400, 401]
  418.   open(DicWindow)
  419.   tell the stage
  420.     pause()
  421.   end tell
  422.   tell DicWindow
  423.     go(2)
  424.   end tell
  425. end
  426.  
  427. on closeGLOSSARYwindow
  428.   set the cursor of sprite 48 to 0
  429.   continue()
  430. end
  431.  
  432. on closeNotePadWindow
  433.   set the cursor of sprite 48 to 0
  434.   continue()
  435. end
  436.  
  437. on HandleNOTEPAD
  438.   global NoteBookWindow, CDfilePath, PCDEL
  439.   EnableBtn("NOTEPAD", Get_NOTEPADSprite())
  440.   set the cursor of sprite 48 to [400, 401]
  441.   if objectp(NoteBookWindow) then
  442.     forget(NoteBookWindow)
  443.   end if
  444.   set NoteBookWindow to window (CDfilePath & "WDS" & PCDEL & "NC_PAD.GEO")
  445.   set the rect of NoteBookWindow to rect(the stageLeft + 7, the stageTop + 247, the stageLeft + 209, the stageTop + 419)
  446.   set NBRect to the rect of NoteBookWindow
  447.   set x1 to getAt(NBRect, 1)
  448.   set y1 to getAt(NBRect, 2)
  449.   set x2 to getAt(NBRect, 3)
  450.   set y2 to getAt(NBRect, 4)
  451.   set the modal of NoteBookWindow to 1
  452.   set the windowType of NoteBookWindow to 2
  453.   set the titleVisible of window "NoteBook" to 0
  454.   open(NoteBookWindow)
  455. end
  456.  
  457. on createNoteBook
  458.   global NBPrintWindow, CDfilePath, PCDEL
  459.   if objectp(NBPrintWindow) then
  460.     forget(NBPrintWindow)
  461.   end if
  462.   set NBPrintWindow to window (CDfilePath & "WDS" & PCDEL & "NC_PRINT.GEO")
  463.   set StageRect to the rect of the stage
  464.   set x1 to getAt(StageRect, 1)
  465.   set y1 to getAt(StageRect, 2)
  466.   set x2 to getAt(StageRect, 3)
  467.   set y2 to getAt(StageRect, 4)
  468.   set the rect of NBPrintWindow to rect(x1, y1, x1 + 640, y1 + 480)
  469.   set NBRect to the rect of NBPrintWindow
  470.   set the fileName of NBPrintWindow to "Auto Page SetUp"
  471.   set the windowType of NBPrintWindow to 2
  472.   open(NBPrintWindow)
  473. end
  474.  
  475. on closePrintWindow
  476.   RestoreHilites()
  477. end
  478.  
  479. on closeQuitWindow
  480.   global QuitWindow
  481.   set the cursor of sprite 48 to 0
  482.   forget(QuitWindow)
  483.   continue()
  484. end
  485.  
  486. on leaveApplication
  487.   global QuitWindow, UsersData, TheBackWindow
  488.   forget(QuitWindow)
  489.   if the machineType <> 256 then
  490.   end if
  491.   quit()
  492. end
  493.  
  494. on keyDown
  495.   if not get_Disabled() then
  496.     if the commandDown and ((the key = "q") or (the key = ".")) then
  497.       handleQuit()
  498.     else
  499.       if (the keyCode = 76) or (the keyCode = 36) then
  500.         HandleNEXT()
  501.       else
  502.         pass()
  503.       end if
  504.     end if
  505.   end if
  506. end
  507.  
  508. on CheckOpenWindow
  509.   global volumeWindow
  510.   if objectp(volumeWindow) then
  511.     forget(volumeWindow)
  512.     continue()
  513.   end if
  514. end
  515.  
  516. on CheckRollOver
  517.   if rollOver(get_IndexSprite()) then
  518.     set the castNum of sprite get_NavigatorHL() to the number of cast "Index-HL"
  519.     set Hloc to the locH of sprite get_IndexSprite()
  520.     set Vloc to the locV of sprite get_IndexSprite()
  521.   else
  522.     if rollOver(get_FindSprite()) then
  523.       set the castNum of sprite get_NavigatorHL() to the number of cast "Find-HL"
  524.       set Hloc to the locH of sprite get_FindSprite()
  525.       set Vloc to the locV of sprite get_FindSprite()
  526.     else
  527.       if rollOver(Get_TagWdSprite()) then
  528.         set the castNum of sprite get_NavigatorHL() to the number of cast "TagWD-HL"
  529.         set Hloc to the locH of sprite Get_TagWdSprite()
  530.         set Vloc to the locV of sprite Get_TagWdSprite()
  531.       else
  532.         set Hloc to EMPTY
  533.       end if
  534.     end if
  535.   end if
  536.   if Hloc <> EMPTY then
  537.     set the locH of sprite get_NavigatorHL() to Hloc
  538.     set the locV of sprite get_NavigatorHL() to Vloc
  539.     set the visible of sprite get_NavigatorHL() to 1
  540.     updateStage()
  541.   else
  542.     set the visible of sprite get_NavigatorHL() to 0
  543.     updateStage()
  544.   end if
  545. end
  546.  
  547. on setDefaultCursor
  548.   set cursorList to getCursorList()
  549.   set counter to count(cursorList)
  550.   repeat with i = 1 to counter
  551.     set currItem to getAt(cursorList, i)
  552.     if currItem <> 0 then
  553.       set CursorCastNum to getCursor(currItem)
  554.       set the cursor of sprite i to [CursorCastNum, CursorCastNum + 1]
  555.     end if
  556.   end repeat
  557. end
  558.  
  559. on UpdateCursors theSp, theCursor
  560.   global cursorList
  561.   setAt(cursorList, theSp, theCursor)
  562.   if theCursor = 0 then
  563.     set the cursor of sprite theSp to theCursor
  564.   else
  565.     set CursorCastNum to getCursor(theCursor)
  566.     set the cursor of sprite theSp to [CursorCastNum, CursorCastNum + 1]
  567.   end if
  568. end
  569.  
  570. on setEmptyCursor
  571.   set cursorList to getCursorList()
  572.   set counter to count(cursorList)
  573.   repeat with i = 1 to counter
  574.     set currItem to getAt(cursorList, i)
  575.     if currItem <> 0 then
  576.       set the cursor of sprite i to 0
  577.       setAt(cursorList, i, 0)
  578.     end if
  579.   end repeat
  580. end
  581.  
  582. on setCursorTool int
  583.   global CursorTool
  584.   set CursorTool to int
  585. end
  586.  
  587. on initCursorCastNum
  588.   global CursorCastNum
  589.   set CursorCastNum to "400,402,404,406"
  590. end
  591.  
  592. on getCursor cursorNum
  593.   global CursorCastNum
  594.   return integer(item cursorNum of CursorCastNum)
  595. end
  596.  
  597. on initCursorList list
  598.   global cursorList
  599.   if list = 1 then
  600.     set cursorList to [2, 3, 4, 0, 0, 4, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3]
  601.   end if
  602.   setDefaultCursor()
  603. end
  604.  
  605. on getCursorList
  606.   global cursorList
  607.   return cursorList
  608. end
  609.  
  610. on ___BTNS_HANDLERS___
  611. end
  612.  
  613. on switchButt spriteNum, castDown, macroName
  614.   if getRollName() <> EMPTY then
  615.     set spNum to EMPTY
  616.     do("put get_" & getRollName() & "Sprite() into spNum")
  617.     set the castNum of sprite spNum to the number of cast getRollName()
  618.     setRollName(EMPTY)
  619.   end if
  620.   set flag to 0
  621.   set SaveCast to the castNum of sprite spriteNum
  622.   set flag to swapCast(spriteNum, SaveCast, castDown)
  623.   repeat while the stillDown
  624.     set flag to swapCast(spriteNum, SaveCast, castDown)
  625.   end repeat
  626.   if flag = 1 then
  627.     sound stop 2
  628.     do(macroName)
  629.   end if
  630. end
  631.  
  632. on swapCast spriteNum, SaveCast, castDown
  633.   if rollOver(spriteNum) then
  634.     set the castNum of sprite spriteNum to the number of cast castDown
  635.     updateStage()
  636.     return 1
  637.   else
  638.     set the castNum of sprite spriteNum to the number of cast SaveCast
  639.     updateStage()
  640.     return 0
  641.   end if
  642. end
  643.  
  644. on DisableBtn btnName, btnSprite
  645.   set the castNum of sprite btnSprite to the number of cast (btnName & "_F")
  646. end
  647.  
  648. on EnableBtn btnName, btnSprite
  649.   set the castNum of sprite btnSprite to the number of cast btnName
  650. end
  651.  
  652. on setRollName theName
  653.   global RollName
  654.   set RollName to theName
  655. end
  656.  
  657. on getRollName
  658.   global RollName
  659.   return RollName
  660. end
  661.  
  662. on Set_NOTEPADSprite theSp
  663.   global NOTEPADSprite
  664.   set NOTEPADSprite to theSp
  665. end
  666.  
  667. on Get_NOTEPADSprite
  668.   global NOTEPADSprite
  669.   return NOTEPADSprite
  670. end
  671.  
  672. on Set_GLOSSARYSprite theSp
  673.   global GLOSSARYSprite
  674.   set GLOSSARYSprite to theSp
  675. end
  676.  
  677. on Get_GLOSSARYSprite
  678.   global GLOSSARYSprite
  679.   return GLOSSARYSprite
  680. end
  681.  
  682. on Set_SoundSprite theSp
  683.   global SoundSprite
  684.   set SoundSprite to theSp
  685. end
  686.  
  687. on get_SOUNDSprite
  688.   global SoundSprite
  689.   return SoundSprite
  690. end
  691.  
  692. on Set_HelpSprite theSp
  693.   global HelpSprite
  694.   set HelpSprite to theSp
  695. end
  696.  
  697. on get_HELPSprite
  698.   global HelpSprite
  699.   return HelpSprite
  700. end
  701.  
  702. on Set_NEXTSprite theSp
  703.   global NEXTSprite
  704.   set NEXTSprite to theSp
  705. end
  706.  
  707. on get_NEXTSprite
  708.   global NEXTSprite
  709.   return NEXTSprite
  710. end
  711.  
  712. on Set_BACKSprite theSp
  713.   global BACKSprite
  714.   set BACKSprite to theSp
  715. end
  716.  
  717. on get_BACKSprite
  718.   global BACKSprite
  719.   return BACKSprite
  720. end
  721.  
  722. on Set_NavigatorHL theSp
  723.   global NavigatorHL
  724.   set NavigatorHL to theSp
  725. end
  726.  
  727. on get_NavigatorHL
  728.   global NavigatorHL
  729.   return NavigatorHL
  730. end
  731.  
  732. on Set_IndexSprite theSp
  733.   global IndexSprite
  734.   set IndexSprite to theSp
  735. end
  736.  
  737. on get_IndexSprite
  738.   global IndexSprite
  739.   return IndexSprite
  740. end
  741.  
  742. on Set_TagWDSprite theSp
  743.   global TagWdSprite
  744.   set TagWdSprite to theSp
  745. end
  746.  
  747. on Get_TagWdSprite
  748.   global TagWdSprite
  749.   return TagWdSprite
  750. end
  751.  
  752. on Set_FindSprite theSp
  753.   global FindSprite
  754.   set FindSprite to theSp
  755. end
  756.  
  757. on get_FindSprite
  758.   global FindSprite
  759.   return FindSprite
  760. end
  761.  
  762. on Set_MainSprite theSp
  763.   global MainSprite
  764.   set MainSprite to theSp
  765. end
  766.  
  767. on get_MainSprite
  768.   global MainSprite
  769.   return MainSprite
  770. end
  771.  
  772. on Set_NEXT theSp
  773.   global next
  774.   set next to theSp
  775. end
  776.  
  777. on Get_NEXT
  778.   global next
  779.   return next
  780. end
  781.  
  782. on Set_PlayDub theMode
  783.   global PlayDub
  784.   set PlayDub to theMode
  785. end
  786.  
  787. on Get_PlayDub
  788.   global PlayDub
  789.   return PlayDub
  790. end
  791.  
  792. on Set_ScreenSubject theNum
  793.   global ScreenSubject
  794.   set ScreenSubject to theNum
  795. end
  796.  
  797. on Get_ScreenSubject
  798.   global ScreenSubject
  799.   return ScreenSubject
  800. end
  801.  
  802. on set_MarkSprite theNum
  803.   global MarkSprite
  804.   set MarkSprite to theNum
  805. end
  806.  
  807. on Get_MarkSprite
  808.   global MarkSprite
  809.   return MarkSprite
  810. end
  811.  
  812. on setTimer int
  813.   global theTime
  814.   set theTime to int
  815. end
  816.  
  817. on getTimer
  818.   global theTime
  819.   return theTime
  820. end
  821.  
  822. on DisableBTNS
  823.   global DisableMode
  824.   set DisableMode to 1
  825. end
  826.  
  827. on EnableBtns
  828.   global DisableMode
  829.   set DisableMode to 0
  830. end
  831.  
  832. on get_Disabled
  833.   global DisableMode
  834.   return DisableMode
  835. end
  836.